package br.gov.cemaden.library.model;

import br.gov.cemaden.library.interfaces.PosicaoInterface;

/**
 *
 * @author alan
 * 
 * @Entity
 * @Table(name = "ger_posicao")
 * @SequenceGenerator(name = "sequence", sequenceName = "ger_posicao_sequence")
 */

public abstract class BasePosicao implements PosicaoInterface {

    /**
     * @Id
     * @Column(name = "id_posicao")
     */
    protected Long id;    
    
    /**
     * @Column(name = "lat")
     */
    protected Double latitude;
    
    /**
     * @Column(name = "long")
     */
    protected Double longitude;
    
    public BasePosicao()
    {
    }

    /**
     * @param id the id_posicao to set
     */
    public void setId(Long id) {
        this.id = id;
    }

    /**
     * @param latitude the latitude to set
     */
    public void setLatitude(Double latitude) {
        this.latitude = latitude;
    }

    /**
     * @param longitude the longitude to set
     */
    public void setLongitude(Double longitude) {
        this.longitude = longitude;
    }
    
}
